package com.mbschenkel.client;

import com.google.gwt.core.client.GWT;

public class Images {
	private static final String prefix =
		"C:\\Dokumente und Einstellungen\\mbs\\Desktop\\other tex apps\\famfamfam_silk_icons_v013\\icons\\";
//		"file:///C:/Dokumente%20und%20Einstellungen/mbs/Desktop/other%20tex%20apps/famfamfam_silk_icons_v013/icons/";
	private static final String postfix = ".png";
	private static final String compose(String arg ) {
		return prefix + arg + postfix;
		//return GWT.getHostPageBaseURL() + "icons/" + arg + postfix;
	}
	public static String buildHTML(String path) {
		return "<img src=\""+path+"\" />";
	}
	public static String getSession() 	{ return compose( "key" ); }
	public static String getDocument() 	{ return compose( "layout" ); }
	public static String getWarning() 	{ return compose( "error" ); }
	public static String getError() 	{ return compose( "exclamation" ); }
	public static String getFolder() 	{ return compose( "folder" ); }
	public static String getUser() 		{ return compose( "user_edit" ); }
	public static String getSnippet() 	{ return compose( "bricks" ); } // page_white_code
	public static String getTasks()		{ return compose( "table"); }
}
